import request from '@/utils/request'

// 查询抽取的纸条信息列表
export function listExtractPaper(query) {
  return request({
    url: '/system/extractPaper/list',
    method: 'get',
    params: query
  })
}

// 查询抽取的纸条信息详细
export function getExtractPaper(id) {
  return request({
    url: '/system/extractPaper/' + id,
    method: 'get'
  })
}

// 新增抽取的纸条信息
export function addExtractPaper(data) {
  return request({
    url: '/system/extractPaper',
    method: 'post',
    data: data
  })
}

// 修改抽取的纸条信息
export function updateExtractPaper(data) {
  return request({
    url: '/system/extractPaper',
    method: 'put',
    data: data
  })
}

// 删除抽取的纸条信息
export function delExtractPaper(id) {
  return request({
    url: '/system/extractPaper/' + id,
    method: 'delete'
  })
}
